package com.pengpeng.server.database;

import java.util.HashMap;
import java.util.Map;


public class DatabaseFactory {
   protected Map<String,Database> databasemap=null;
   public DatabaseFactory()
   {
	   
   }
   public Map<String, Database> getDatabasemap() {
	return databasemap;
   }
   public void setDatabasemap(Map<String, Database> databasemap) {
	this.databasemap = databasemap;
   }
   public Database getDatabase(String databaseid)
   {
	   return databasemap.get(databaseid);
   }
}
